from django.urls import path, include
from rest_framework import routers
from .views import *

router = routers.DefaultRouter()
router.register('article', ArticleViewSet, basename='article')
router.register('articleForP', ArticleForPViewSet, basename='articleForP')

urlpatterns = [
    path('', include(router.urls)),
]